package com.itcast.service;

import com.itcast.domain.Admin;

import java.util.List;

public interface AdminService {
    String register(Admin admin) throws Exception;

    String login(Admin admin) throws Exception;

    List<Admin> findAll();

    String deleteAdmin(String id) throws Exception;
}
